8.7
HIGH CVSS 4.0
CVE-2024-7254
Stack overflow in Protocol Buffers Java Lite
Description

Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.

INFO

Published Date :

Sept. 19, 2024, 1:15 a.m.

Last Modified :

Sept. 8, 2025, 10:15 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-7254 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Google protobuf
2 Google protobuf-java
3 Google protobuf-javalite
4 Google protobuf-kotlin
5 Google protobuf-kotlin-lite
1 Netapp active_iq_unified_manager
2 Netapp ontap_tools
3 Netapp bluexp
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 HIGH [email protected]
Solution
This vulnerability can be mitigated by patching the affected Protocol Buffers libraries.
  • Update the affected packages to a patched version.
  • Apply the latest vendor security updates, if available.
Public PoC/Exploit Available at Github

CVE-2024-7254 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-7254.

URL Resource
https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa Patch
https://security.netapp.com/advisory/ntap-20241213-0010/ Third Party Advisory
https://security.netapp.com/advisory/ntap-20250418-0006/ Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-7254 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Reconfigures prometheus-metrics-exposition-formats to remove protobuf

actuator protobuf spring spring-boot prometheus-metrics-exposition-formats eol

Java

Updated: 5 days, 15 hours ago
2 stars 0 fork 0 watcher
Born at : Oct. 23, 2024, 7:57 a.m. This repo has been linked 1 different CVEs too.

None

Dockerfile

Updated: 2 days, 11 hours ago
1 stars 4 fork 4 watcher
Born at : Nov. 7, 2020, 1:05 p.m. This repo has been linked 4 different CVEs too.

Java library with some basic DB API (neither JDBC nor JPA)

CSS Java HTML

Updated: 5 days, 5 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 26, 2014, 6:29 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-7254 vulnerability anywhere in the article.

  • TheCyberThrone
Atlassian’s Security Advisory Addresses Multiple Vulnerabilities

In February 2025, Atlassian released a comprehensive security advisory addressing 12 critical and high-severity vulnerabilities across its suite of products, including Bamboo, Bitbucket, Confluence, C ... Read more

Published Date: Feb 21, 2025 (6 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2024-7254 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Sep. 08, 2025

    Action Type Old Value New Value
    Added CWE CWE-400
    Added CWE CWE-674
    Removed CWE CWE-20
  • Reanalysis by [email protected]

    Aug. 13, 2025

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:google:protobuf:28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf:3.25.5:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf:4.27.5:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf:4.28.2:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf-java:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-java:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-java:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:4.28.2:*:*:*:*:*:*:* OR *cpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* versions up to (excluding) 3.25.5 *cpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* versions from (including) 4.0.0 up to (excluding) 4.27.5 *cpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* versions from (including) 4.28.0 up to (excluding) 4.28.2 *cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* versions up to (excluding) 3.25.5 *cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.27.5 *cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* versions from (including) 4.28.0 up to (excluding) 4.28.2 *cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* versions up to (excluding) 3.25.5 *cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.27.5 *cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* versions from (including) 4.28.0 up to (excluding) 4.28.2 *cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* versions up to (excluding) 3.25.5 *cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.27.5 *cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* versions from (including) 4.28.0 up to (excluding) 4.28.2 *cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* versions up to (excluding) 3.25.5 *cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.27.5 *cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* versions from (including) 4.28.0 up to (including) 4.28.2
  • Initial Analysis by [email protected]

    Jul. 30, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:google:protobuf:28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf:3.25.5:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf:4.27.5:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf:4.28.2:*:*:*:*:ruby:*:* *cpe:2.3:a:google:protobuf-java:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-java:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:3.25.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:4.27.5:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-java:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-javalite:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin:4.28.2:*:*:*:*:*:*:* *cpe:2.3:a:google:protobuf-kotlin-lite:4.28.2:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* *cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* *cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* *cpe:2.3:a:netapp:bluexp:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*
    Added Reference Type Google Inc.: https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa Types: Patch
    Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20241213-0010/ Types: Third Party Advisory
    Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20250418-0006/ Types: Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Apr. 19, 2025

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20250418-0006/
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Dec. 13, 2024

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20241213-0010/
  • CVE Received by [email protected]

    Sep. 19, 2024

    Action Type Old Value New Value
    Added Description Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.
    Added Reference Google Inc. https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa [No types assigned]
    Added CWE Google Inc. CWE-20
    Added CVSS V4.0 Google Inc. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 8.7
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact